﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<script type="text/javascript">
    function changethisvalue(obj){
        var tt=document.getElementById("ZS_FXPGBBUPControl___TextBox1");
        if(obj.value=='补偿方案')
        {
            tt.value='6';
        }
        else if(obj.value=='补偿实施方案')
        {
            tt.value='7';
        }
        else if(obj.value=='风险评估报告')
        {
            tt.value='7';
        }
        else if(obj.value=='修改情况')
        {
            tt.value='7';
        }
        else if(obj.value=='其它')
        {
            tt.value='7';
        }
        else if(obj.value=='公告与征收决定')
        {
            tt.value='9';
        }

    }
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left; color: black">
                &nbsp; 
                <asp:Literal ID="Literal1" runat="server"></asp:Literal>-附件补录 </font>
        </td>
    </tr>
</table>

<div id="divUpload" style="margin-top: 10px; text-align: center;">
    <table cellpadding="0" cellspacing="0" align="center" class="window_tab_list" style="width: 98%;
        margin: 20px 0 10px 0; line-height: 35px; text-align: center;">
        <tr style="height: 30px;">
            <td>
                上传附件名称：
            </td>
            <td style="width: 80%" align="left">
                &nbsp;&nbsp;
                <asp:TextBox ID="filename" runat="server" />(如不填则选择上传的文件名为默认文件名)
            </td>
        </tr>
        <tr style="height: 30px;">
            <td>
                附件上传：
            </td>
            <td align="left">
                &nbsp;&nbsp;
                <asp:FileUpload ID="picFile" runat="server" BorderStyle="Solid" BorderWidth="1px"
                    BorderColor="#CEE3F7" BackColor="#FFFFFF" />(支持jpg,gif,jpeg,bmp,doc,docx,xls格式)
            </td>
        </tr>
        <tr style="height: 30px;">
            <td>
                所属类别：
            </td>
            <td style="text-align: left;">
                &nbsp;&nbsp; 
                <asp:DropDownList ID="DropDownList1" runat="server" onchange="changethisvalue(this)">
                <asp:ListItem Text="补偿方案" Value="补偿方案"></asp:ListItem>
                <asp:ListItem Text="补偿实施方案" Value="补偿实施方案"></asp:ListItem>
                <asp:ListItem Text="风险评估报告" Value="风险评估报告"></asp:ListItem>
                <asp:ListItem Text="修改情况" Value="修改情况"></asp:ListItem>
                <asp:ListItem Text="其它" Value="其它"></asp:ListItem>
                <asp:ListItem Text="公告与征收决定" Value="公告与征收决定"></asp:ListItem>
                <%--<asp:ListItem Text="土地权属证明文件" Value="土地权属证明文件"></asp:ListItem>--%>
                </asp:DropDownList>
                <div style="display:none">
                    <asp:TextBox ID="TextBox1" runat="server" Width="0" Height="0" Text="6"></asp:TextBox>
                    <asp:TextBox ID="TextBox2" runat="server" Text="'补偿方案','补偿实施方案','风险评估报告','修改情况','其它','公告与征收决定'"></asp:TextBox>
         示例：'补偿方案','补偿实施方案','风险评估报告','修改情况','其它','土地权属证明文件'
                </div>
            </td>
        </tr>
        <tr style="height: 30px;">
            <td style="text-align: center; height: 30px" colspan="2">
                <asp:Button ID="upfile" runat="server" Text="上 传" />&nbsp;
                <input type="button" value="返回" onclick="javascript:window.location.href=('ZS_FXPGXM.aspx');" />&nbsp; <span style="color: Red;
                    font-size: 12px;">（提示：附件大小必须小于5M！）</span>
            </td>
        </tr>
    </table>
</div>
<div style="text-align: center; width: 100%;">
    <table style="width: 100%;">
        <tr>
            <td>
            </td>
        </tr>
        <tr>
            <td style="height: 21px" align="center">
                <CBW:CustomGridView ID="CustomGridView1" runat="server" AllowPaging="True" SkinID="List" RowStyle-HorizontalAlign="Center"
                    PageSize="10" CustomSortExpression="" AutoGenerateColumns="false" ShowCmpAndCancel="False"
                    ShowHideColModel="None" Width="765px" CssClass="window_tab_list" CustomGridViewStyle="text-align: center;"
                    AllowOnMouseOverEvent="True" AutoGenerateDeleteConfirm="True" CustomGridViewClass="window_tab_list_fst">
                    <PagerSettings Visible="False" />
                    <Columns>
                        <asp:TemplateField HeaderText="查看" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <a href='../ZSManage/showfile.aspx?id=<%#Eval("ID") %>' target="_blank">附件</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="itemname" HeaderText="附件类型" ItemStyle-HorizontalAlign="Center">
                        </asp:BoundField>
                        <asp:BoundField DataField="name" HeaderText="资源名称" ItemStyle-HorizontalAlign="Center">
                        </asp:BoundField>
                        <asp:BoundField DataField="SUFFIX" HeaderText="资源类型" ItemStyle-HorizontalAlign="Center">
                        </asp:BoundField>
                        <asp:CommandField ShowDeleteButton="True" HeaderText="删除" ItemStyle-HorizontalAlign="Center" />
                    </Columns>
                </CBW:CustomGridView>
            </td>
        </tr>
    </table>
</div>
